<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/view/common/import.jspf" %>
<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<title>EC-后台界面</title>
		<link href="${ctx }/static/common/main.css" rel="stylesheet"/>
		<link rel="shortcut icon" href="<%=request.getContextPath()%>/static/common/images/favicon.ico"/>
		
        <script src="${ctx }/static/common/main.js"></script>
	</head>
	<body class="easyui-layout">
	    <div style="height:90px; background-color: #74C5E2"  data-options="
	    region:'north',
	    collapsible: false,
	    noheader: true">
	    	<div class="logo">
	    		<img class="logoImg" src="<%=request.getContextPath() %>/static/common/images/logo.png">
	    	</div>
	    	<div class="logout">
	    	<a href="#" class="easyui-linkbutton" style="color:white;background-image: url('<%=request.getContextPath() %>/static/common/images/backgroudone.PNG');" data-options="iconCls:'icon-user-business'">你好:${sysUser.name}</a> 
	    	<a id="btn" href="#" onclick="user.operate.personalInfo()" style=" color:white;background-image: url('<%=request.getContextPath() %>/static/common/images/backgroudtwo.PNG');" class="easyui-linkbutton" data-options="iconCls:'icon-user-thief'">个人中心 </a>   
	    	<a id="btn" href="#" onclick="user.operate.showeditpwd()" style="color:white;font-weight:bold;font-size:20px;background-image: url('<%=request.getContextPath() %>/static/common/images/backgroudthird.PNG');" class="easyui-linkbutton" data-options="iconCls:'icon-edit'">修改密码 </a> 
	    	<a href="#" onclick="user.operate.logout()" style="color:white;background-image: url('<%=request.getContextPath() %>/static/common/images/backgroudfour.PNG');" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'">注销</a></div>
	    </div>
	    <div style="width:200px;background-color: #74C5E2;color: white;" data-options="
	    region:'west',
	    title:'菜单',
	    iconCls:'icon-more'">
	    	<ul id="nav" ></ul>
	    </div>
	    <div data-options="
	    region:'center',
	    noheader: true">
			<div id="tabs">
			   <div title="欢迎页" data-options="
			   iconCls:'icon-tip'">
			    <div id="stuViwExamPanel"></div>
			 <!-- <div id="stuViwExamDialog"></div>
				<div id="stuViewExamToolbar">
					<div>
						<a href="#" class="easyui-linkbutton" onclick="talent.toolbar.showAddDialog();" data-options="
						iconCls:'icon-edit',
						plain:true">
						进去考试
						</a>
					</div>
				</div>--> 
			   </div> 
			</div>
	    </div>
	    <div id="clickMenu" class="easyui-menu">
	 		<div data-options="
			    name:'refresh'">
			    	刷新
			 </div>
		    <div data-options="
		    name:'update'">
		    	修改
		    </div>
		    <div data-options="
		    name:'open'">
		    	启用
		    </div>
		    <div data-options="
		    name:'close'">
		    	禁用
		    </div>
		    <div data-options="
		    name:'delete'">
		    	删除
		    </div>
		</div>
		<div id="tabMenu" class="easyui-menu">
		    <div data-options="
		    name:'refresh'">
		    	刷新
		    </div>
		    <div data-options="
		    name:'closeCurrent'">
		    	关闭当前
		    </div>
		    <div data-options="
		    	name:'closeOther'">
		    	关闭其它
		    </div>
		    <div data-options="
		    name:'closeAll'">
		    	关闭全部
		    </div>
		</div>
		<div id="pwddlg" class="easyui-dialog" title="修改密码" data-options="iconCls:'icon-save',closed:true" style="width:280px;">
		<form method="post" id="pwdForm">
			原 &nbsp;密&nbsp; 码:<input type="password" name="oldpwd" class="easyui-textbox" onblur="user.operate.checkpwd(this)"/><br>
			新 &nbsp;密&nbsp; 码:<input type="password"  id="newpwd" name="newpwd" class="easyui-textbox" data-options="required:true"/><br>
			确认密码:<input type="password" name="repwd" class="easyui-textbox" validType="equals['#newpwd']" data-options="required:true"/><br>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<a id="updatepwd"class="easyui-linkbutton" data-options="iconCls:'icon-ok'" style="width:85px;height:22px"onclick="user.operate.editpwd()"/>修改</a>
			<a type="button" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" onclick="$('#pwddlg').dialog('close')" style="width:85px;height:22px"/>取消</a>
		</form>
		</div>
		<div id="infodlg" class="easyui-dialog" title="个人信息详情" data-options="iconCls:'icon-save',closed:true" style="padding-left: 50px;
			padding-right: 30px;
			width: 300px;
			padding-top: 20px;
			padding-bottom: 20px;font-size:14px">
		<form method="post" id="infoForm">	
			账号:${sysUser.code }<br>
			名字:${sysUser.name }<br>
			性别:${sysUser.sex }<br>
			邮箱:<input type="text" name="email" value="${sysUser.email }" class="easyui-textbox" required="true" validType="email"/><br>
			电话:<input type="text" name="phone" value="${sysUser.phone }" class="easyui-textbox" required="true" validType="phone"/><br>
			角色:${sysUser.role }<br>
			创建时间:${sysUser.createTime }<br>
			 <a class="easyui-linkbutton" data-options="iconCls:'icon-ok'" onclick="user.operate.editInfo()" >修改</a>
			<a type="button" class="easyui-linkbutton" 
				  data-options="iconCls:'icon-cancel'" onclick="$('#infodlg').dialog('close')">取消</a>
			</form>
		</div>
	<div id="examDialog" class="easyui-dialog" style="width:100%;height:100%;" data-options="
		resizable:false,
	    title:'进行考试',
	    modal:true,
	    inline:true,
	    draggable:false,
	    closed:true" >
	    <div style="margin-left: 100px;">
	       	<form id="examForm" method="post">
			    <h1 id="examPaperName"></h1>
			   	 考试科目：<span id="examCourse"></span>&nbsp;&nbsp;&nbsp;
			   	 考试类型：<span id="examType"></span>&nbsp;&nbsp;&nbsp;
			   	 考试时间：<span id="examTime"></span>分钟&nbsp;&nbsp;&nbsp;
			   	 总分数：<span id="examTotal"></span>
			    <h2>一、单选题</h2>
			    <ol id="single" style="font-size: 16px"></ol>
			    <h2>二、多选题</h2>
			    <ol id="multi" style="font-size: 16px"></ol>
			    <h2>三、判断题</h2>
			    <ol id="judge" style="font-size: 16px"></ol>
		    </form>
	     </div>
	       <div id="scantron">
	   	 	<p id="time"></p>
	   	 	 <button class="submitBtn" onclick="main.toolbar.submitPaper();">交卷</button>
	    </div>
	</div>
</body>
</html>
